<?php

/**
 *      [Discuz!] (C)2001-2099 Comsenz Inc.
 *      This is NOT a freeware, use is subject to license terms
 *
 *      $Id$
 */

if(!defined('IN_DISCUZ')) {
	exit('Access Denied');
}

require DISCUZ_ROOT . 'api/payment/payment_base.php';

class payment_qpay extends payment_base {

	public function __construct() {
		global $_G;
		$this->plugin = unifiedpay_plugin_init('qpay');
		parent::__construct();
	}

	public function pay_jsapi($order) {
		return unifiedpay_plugin_call($this->plugin, __FUNCTION__, func_get_args());
	}
}